import {
  getArticleList,
  createArticle,
  updateArticle,
  searchArticle,
  articleDraft,
  getArticleDetail,
  findArticleByCoverImage,
  getDraftList,
  getDraftById,
  deleteDraft,
  releaseComment,
  getCommentList,
  giveLike,
  deleteComment,
  deleteArticle,
  likeArticle,
  getClassifyList,
  getTagList,
  getTimelineList,
  getArticleByRandom,
  delAllArticle,
  getPrevArticle,
  getNextArticle,
  advancedSearch,
  checkArticleLikeStatus,
} from './article';
import { uploadFile, removeFile, downloadFile } from './upload';
import { getMyArticleList, getAuthorArticleList, getAuthorTimeline } from './userInfo';
import {
  register,
  login,
  updateInfo,
  getUserInfo,
  resetPassword,
  verify,
  logout,
  verifyCode,
} from './user';
import {
  createCollection,
  getCollectionList,
  collectArticles,
  checkCollectionStatus,
  cancelCollected,
  getCollectedTotal,
  delCollection,
  updateCollection,
  getCollectInfo,
  getCollectArticles,
  removeCollectArticle,
  getCollectTotal,
} from './collection';

export {
  register,
  login,
  updateInfo,
  getUserInfo,
  getArticleList,
  createArticle,
  updateArticle,
  searchArticle,
  articleDraft,
  getDraftList,
  getDraftById,
  deleteDraft,
  delAllArticle,
  getArticleDetail,
  findArticleByCoverImage,
  releaseComment,
  getCommentList,
  giveLike,
  deleteComment,
  deleteArticle,
  likeArticle,
  getClassifyList,
  getTagList,
  getTimelineList,
  getMyArticleList,
  uploadFile,
  removeFile,
  downloadFile,
  resetPassword,
  getArticleByRandom,
  getAuthorArticleList,
  getAuthorTimeline,
  getPrevArticle,
  getNextArticle,
  verify,
  logout,
  verifyCode,
  advancedSearch,
  createCollection,
  getCollectionList,
  collectArticles,
  checkCollectionStatus,
  cancelCollected,
  getCollectedTotal,
  delCollection,
  updateCollection,
  getCollectInfo,
  getCollectArticles,
  removeCollectArticle,
  getCollectTotal,
  checkArticleLikeStatus,
};
